package com.ycw.controller.cjy;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ycw.bean.Repay;
import com.ycw.service.xiaocai.InsertRepayService;
import com.ycw.util.Msg;

@Controller
public class InsertRepayController {
  
	@Autowired
	InsertRepayService insertRepayService;
	//输入回报
	@RequestMapping("/insertRepay")
	@ResponseBody
	public Msg insertRepay(Repay repay) {
		System.out.println("调用回报插入方法：");
		insertRepayService.insertRePay(repay);
		return Msg.success();
		
	}
}
